<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
		+ request.getServerName() + ":" + request.getServerPort()
		+ path + "/";
%>  

<div class="none">
 <div id="tcorrectIndex">${topic.tcorrectIndex}</div>
</div>
<div class="Box" style="margin-top:15px;"  >
		<div>
			<c:forEach items="${wrongTitile}" var="topic" varStatus="i">
				<div class="well radioGroup">
					<p>${i.count}：&nbsp;&nbsp; ${topic.ttopic} </p>
					<p>
					<c:forEach items="${topic.ansList }" var="ta" varStatus="j">
						<c:if test="${topic.tcorrectIndex==j.index}">
							<c:set var="red" value="style='color:#f00';"/>
						</c:if>						
						<c:if test="${topic.tcorrectIndex!=j.index}">
							<c:set var="red" value=""/>
						</c:if>				
						<c:if test="${j.index==0}">
							<c:set var="op" value="A:"/>
						</c:if>		
						<c:if test="${j.index==1}">
							<c:set var="op" value="B:"/>
						</c:if>		
						<c:if test="${j.index==2}">
							<c:set var="op" value="C:"/>
						</c:if>		
						<c:if test="${j.index==3}">
							<c:set var="op" value="D:"/>
						</c:if>
						
						<div ${red}>${op}${ta}</div>
					</c:forEach>
					</p>
					<p>
					答案解析：${topic.tanswerAnalysis }
					</p>
				</div>
			</c:forEach>
		</div>
</div>
<script>
</script>